package com.ruoyi.oa.mapper;

import com.ruoyi.common.annotation.DataColumn;
import com.ruoyi.common.annotation.DataPermission;
import com.ruoyi.oa.domain.OaHumanSalary;
import com.ruoyi.oa.domain.bo.OaHumanSalaryBo;
import com.ruoyi.oa.domain.vo.OaHumanSalaryVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import java.util.List;

/**
 * 调薪申请Mapper接口
 *
 * @author ruoyi
 * @date 2023-06-30
 */
public interface OaHumanSalaryMapper extends BaseMapperPlus<OaHumanSalaryMapper, OaHumanSalary, OaHumanSalaryVo> {
    @DataPermission({
        @DataColumn(key = "deptName", value = "dept_id"),
        @DataColumn(key = "userName", value = "user_id")
    })
    List<OaHumanSalaryVo> queryByCondition(OaHumanSalaryBo bo);

}
